/**
 * 
 */
package com.myway.components.jms.artifact;

import com.myway.core.jms.artifact.JobArtifact;
import com.myway.dto.logs.DTOLogs;


/**
 *
 */
public class ETLogArtifact extends JobArtifact {
	/**
	 * UID
	 */
	private static final long serialVersionUID = 2430845804031955236L;
	private DTOLogs log;
	
	public ETLogArtifact(String airline){
		super("ET日志(DTOLogs)","日志(Logs)",airline);
	}
	
	public ETLogArtifact(DTOLogs log) {
		super("ET日志(DTOLogs)","日志(Logs)","");
		this.log = log;
	}
	
	/**
	 * @return the log
	 */
	public DTOLogs getLog() {
		return log;
	}

	/**
	 * @param log the log to set
	 */
	public void setLog(DTOLogs log) {
		this.log = log;
	}

	public String toString() {
		return log.getContent();
	}
}
